package com.yjyw.tiexie.bean;

/**
 * Created on 2019/8/12.
 *
 * @author ${AUTHOR}
 * TODO:
 */
public class AppUpdateBean {

    /**
     * code : 200
     * data : {"id":12312321,"version":"v1.0.0","content":null,"status":1,"sort":1,"href":"https://h5.bjmdbkj.com/changzan.apk","forced":0,"create_time":"2021-11-09 10:33:14","update_time":"2021-11-09 10:33:17"}
     * message : 获取成功
     */

    private int code;
    /**
     * id : 12312321
     * version : 1.0.0
     * content : null
     * status : 1
     * sort : 1
     * href : https://h5.bjmdbkj.com/changzan.apk
     * forced : 0
     * create_time : 2021-11-09 10:33:14
     * update_time : 2021-11-09 10:33:17
     */

    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private int id;
        private String version;
        private String content;
        private int status;
        private int sort;
        private String href;
        private int forced;
        private String create_time;
        private String update_time;

        //版本code
        private int version_code;
        //是否需要更新弹框
        private int is_update;

        public int getVersion_code() {
            return version_code;
        }

        public void setVersion_code(int version_code) {
            this.version_code = version_code;
        }

        public int getIs_update() {
            return is_update;
        }

        public void setIs_update(int is_update) {
            this.is_update = is_update;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getHref() {
            return href;
        }

        public void setHref(String href) {
            this.href = href;
        }

        public int getForced() {
            return forced;
        }

        public void setForced(int forced) {
            this.forced = forced;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }
    }
}
